<?php

/*
info: 商区分类管理
date: 2011-11-23
*/

if (!defined('WEBINROOT'))
{
	header("HTTP/1.0 404 Not Found");
	exit();
}

class CompanyCategoryDataModel extends CategoryDataModel {

	protected $cachekey = 'category_company';

	protected $tableName = 'company_category';
	protected $title = '商家';

	protected $supportCheckRelation = true;
	protected $relationTableName = 'company'; //关联表
	protected $relationField = 'company_category_id'; //关联字段
	protected $relationErrorMessage = '该分类下还有商家信息, 不能删除.'; //关联表错误提示信息

}